package com.algorithm.liyc.entity;

/**
 * TODO
 *
 * @author Liyc
 * @date 2023/12/28 14:06
 **/

public class NextNode {
    public int val;
    public NextNode left;
    public NextNode right;
    public NextNode next;
    public NextNode() {}
    public NextNode(int val) {
        this.val = val;
    }
    public NextNode(NextNode left, NextNode right, NextNode next) {
        this.left = left;
        this.right = right;
        this.next = next;
    }
}
